package com.example.hudongwx.myclass0719application.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;

import com.example.hudongwx.myclass0719application.R;

import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;
import org.xutils.x;

/**
 * Created by hudongwx on 16-10-28.
 */
@ContentView(R.layout.fraglogin)
public class FragLogin extends Fragment{


    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return x.view().inject(this,inflater,container);



    }

    @Event(R.id.fraglogin_textview_auto)
    private  void click(View view){
          if (!view.isSelected()){
              view.setSelected(true);
          }else {
              view.setSelected(false);
          }


    }
}
